<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body{
            padding-bottom: 800px;
        }
    </style>
</head>
<body>
    <div id="app">
        <input type="button" value="showTip" @click="openTip()">
    </div>

    
    <link rel="stylesheet" href="../assets/font/iconfont.css">
    <link rel="stylesheet" href="./util/vue-message.css">
    <script type="module"> 
        import { createApp } from "../assets/vue3/vue.esm-browser.js";
        import showTip from "./util/vue-message.js";
        
        // showTip();
        // showTip();
        // showTip();
        // showTip();
        // showTip();


        
        const app = createApp({
            data(){
                return {

                }
            },
            methods: {
                openTip() {
                    // showTip();
                    this.$showTip("登录失败","用户名或密码错误","error")
                }
            },
        });
        app.config.globalProperties.$showTip = showTip;
        
        app.mount("#app")
    </script>
</body>
</html>